<%@ page import="lli.filemanagement.MFile" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="fm" />
        <title>File list</title>
        <style>
          .addfileform{
            margin: 10px 0px;
            font-size: 16px;
          }
        </style>
    </head>
    <body>
      <g:render template="addfileform"/>

      <div class="filelist-container">
        <g:each in="${MFileInstanceList}" status="i" var="MFileInstance">
            <g:link controller="MFileManager" action="showFile" id="${MFileInstance.id}" >
              ${fieldValue(bean: MFileInstance, field: "name")}
            </g:link>
            <br/>
        </g:each>
      </div>
      <div id="filesUp">
        
      </div>
    </body>
</html>
